#!/usr/bin/python3

import librungame.util
import librungame.game.windows
import librungame.runner
import librungame.tuner

if __name__ == "__main__":
    sysInfo = librungame.util.SysInfo()
    game = librungame.game.windows.HomeSheepHome2("/opt/home-sheep-home2")
    tuner = librungame.tuner.HomeSheepHome2(game, False, True)
    runner = librungame.runner.Wine()
    with librungame.RunGame(sysInfo, "home-sheep-home2", game, runner).context(edit_or_run=False) as rg:
        game.apply_fullscreen_or_windowed(False)
        game.apply_resolution(tuner.get_resolution())
        game.apply_graphics_level(tuner.get_graphics_level())
        rg.run("main")
